package com.alterzhang.userservice.impl;

import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
import service.UserSrevise;

@Component
@Service
public class UserServiceImpl implements UserSrevise {

    @Value("${dubbo.protocol.port}")
    private String port;

    @Override
    public String sayHello(){
        return "hello zsh:"+port;
    }
}
